package com.guoyansoft.model.pojo;

import java.io.Serializable;

/**
 * @author 常利军
 * 用户实体与地址实体中间实体
 */
public class CustomerAndAddress implements Serializable {
    //主键id
    private Integer id;
    //与用户customer实体相关联
    private Customer customer;
    //与地质address实体相关联
    private Address address;

    public CustomerAndAddress() {
    }

    public CustomerAndAddress(Customer customer, Address address) {
        this.customer = customer;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
